import request from '/@/utils/request'

// 岗位列表
export const jobsLists = (params?: any) => request.get('/auth/jobs/lists', params);

// 岗位列表全部
export const jobsAll = (params?: any) => request.get('/auth/jobs/all', params);

// 添加岗位
export const jobsAdd = (params?: any) => request.post('/auth/jobs/add', params);

// 编辑岗位
export const jobsEdit = (params?: any) => request.post('/auth/jobs/edit', params);

// 删除岗位
export const jobsDelete = (params?: any) => request.delete('/auth/jobs/delete', params);

// 岗位详情
export const jobsDetail = (params?: any) => request.get('/auth/jobs/detail', params);